export default {
  data() {
    return {
      page: {
        page: 1,
        limit: 10,
        total: 0
      },
      hasNext: true,
      show: false,
      type: "",
      listLoading: false
    };
  },
  computed: {
    query() {
      return {
        page: this.page.page,
        pageSize: this.page.limit
      };
    }
  },
  methods: {
    pagination(page) {
      this.page.page = page.page;
      this.page.limit = page.limit;
      this.onLoad();
    }
  }
};
